home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee((((3333ddddmmmm)))) aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- afCloseFile - close an audio file, update file header if file was opened
- for write access.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
-
- iiiinnnntttt aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee((((AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _f_i_l_e is the AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure for the audio file you want to
- close. This structure is the returned value of the
- aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm) call.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee(((()))) returns 0 if _f_i_l_e is closed without error. If an error
- occurs while closing _f_i_l_e or updating the file header fields, it returns
- -1.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee(((()))) releases _f_i_l_e's resources back to the system. This routine
- also takes care of updating the header information for files which were
- opened for write access. Since _f_i_l_e will be deallocated, _f_i_l_e's value
- should not be used in any subsequent Audiofile Library procedure calls.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- Note that aaaaffffCCCClllloooosssseeeeFFFFiiiilllleeee(((()))) will close the file descriptor associated with
- _f_i_l_e whether it was opened with aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm) or aaaaffffOOOOppppeeeennnnFFFFDDDD(3dm). This
- is unfortunately not consistent with the SGI Movie Library, but must be
- maintained for backwards compatibility.
-
- This routine will not function correctly if the user changes the file
- position on the file descriptor for the AFfilehandle being manipulated.
- See the section _C_A_V_E_A_T_S _F_O_R _U_S_I_N_G _T_H_E _H_A_N_D_L_E'_S _F_I_L_E _D_E_S_C_R_I_P_T_O_R in
- aaaaffffIIIInnnnttttrrrroooo(3dm) for important information about how to deal with this
- situation.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- aaaaffffSSSSyyyynnnnccccFFFFiiiilllleeee(3dm), aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm), aaaaffffNNNNeeeewwwwFFFFiiiilllleeeeSSSSeeeettttuuuupppp(3dm),
- aaaaffffFFFFrrrreeeeeeeeFFFFiiiilllleeeeSSSSeeeettttuuuupppp(3dm)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-